package com.qingfeng.okms.service.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qingfeng.entity.system.okms.AamsDepartment;
import com.qingfeng.okms.mapper.DepartmentMapper;
import com.qingfeng.okms.service.IDepartmentService;
import com.qingfeng.utils.PageData;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cb
 * @Description TODO
 * @date 2023/6/14
 */
@Service
@DS("base1")
public class DepartmentImpl  extends ServiceImpl<DepartmentMapper, AamsDepartment> implements IDepartmentService {

    public List<AamsDepartment> findList(AamsDepartment aamsDepartment){
        return this.baseMapper.findList(aamsDepartment);
    }

    @Override
    public List<PageData> findOrganizeList(PageData pd) {
        return this.baseMapper.findOrganizeList(pd);
    }


}
